
<html>
  <head>
    <title>formulario</title>
  </head>

  <body>
    <h1>Insertar Trabajador</h1>
    <form method="post" action="controlador?operacion=guardar">
      <table cellspacing="2" cellpadding="3" border="1" width="50%" style="margin:0 auto" align="center">
        <tr>
          <td width="50%">Codigo</td>
          <td width="50%">
            <input type="text" name="codigo"/>
          </td>
        </tr><tr>
          <td width="50%">NOMBRE</td>
          <td width="50%">
            <input type="text" name="nombre"/>
          </td>
        </tr><tr>
          <td width="50%">CARGO</td>
          <td width="50%">
            <input type="text" name="cargo"/>
          </td>
        </tr><tr>
          <td width="50%">&nbsp;</td>
          <td width="50%">
            <input type="submit" value="Enviar"/>
          </td>
        </tr>
      </table>
    </form>
    <a href="index.jsp">inicio</a>
  </body>
</html>